home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / pm / actionwindow.h next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  779 b   |  46 lines

  1. #ifndef _ACTIONWINDOW_H_
  2. #define _ACTIONWINDOW_H_
  3.  
  4. #ifndef _DELEGATEWINDOW_H_
  5. #include <pm/DelegateWindow.h>
  6. #endif
  7.  
  8. #ifndef _COMMANDLIST_H_
  9. #include <pm/CommandList.h>
  10. #endif
  11.  
  12. @interface ActionWindow : DelegateWindow <Archiving>
  13. {
  14.   CommandList *commandBindings;
  15.   id clientWindow;
  16.   id menu;
  17. }
  18.  
  19. - init;
  20. - free;
  21.  
  22. - bindCommand: (ULONG) command withObject: anObject selector: (SEL) aSel;
  23. - findCommandBinding: (ULONG) command;
  24. - (MRESULT) execCommand: (ULONG) command;
  25.  
  26. - menu;
  27. - createMenu;
  28. - destroyMenu;
  29.  
  30. - setClientWindow: aClient;
  31. - clientWindow;
  32. - performClose: sender;
  33. - performQuit: sender;
  34.  
  35. /*
  36.  * Methods for protocol "Archiving"
  37.  */
  38.  
  39. - awake;
  40. - read: (TypedStream *) aStream;
  41. - write: (TypedStream *) aStream;
  42.  
  43. @end
  44.  
  45. #endif
  46.